#!/usr/bin/env python3
"""Israel Health Impact Analysis Script
Author: Juan Moises de la Serna
"""
import pandas as pd
import matplotlib.pyplot as plt

df = pd.read_csv('health_indices_annual.csv')
print(df.describe())

fig, axes = plt.subplots(1, 2, figsize=(14, 6))
df.plot(x='year', y='life_expectancy', ax=axes[0], marker='o', title='Life Expectancy')
df.plot(x='year', y='infant_mortality_1000', ax=axes[1], marker='o', title='Infant Mortality')
plt.tight_layout()
plt.savefig('israel_health_trends.png', dpi=150)
